package cn.song.service;

import cn.song.dto.OrderDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface OrderService {
    //创建dingdan
    OrderDto createOrder(OrderDto orderDto);

    //查询单个订单
    OrderDto findOne(String orderId);

    //查询订单列表
    Page<OrderDto> findList(String buyerOpenId , Pageable pageable);

    //取消订单
    OrderDto Cannel(OrderDto orderDto);

    //完结
    OrderDto finish(OrderDto orderDto);

    //支付订单
    OrderDto paid(OrderDto orderDto);


}
